#ifndef BSP_I2C_H__
#define BSP_I2C_H__

#include <stdint.h>

#define IA_I2C0         0

int I2C_init(void);

int i2c_write_word(uint8_t SlaveAddr, uint8_t RegAddr, uint8_t data);

int i2c_read_word(uint8_t SlaveAddr, uint8_t RegAddr, uint8_t* data);

#endif
